package com.levy.html;

public class SpaceEncode {

	/**
	 * duplicate: To%A0register
	 * 
	 * orginal: To%20register
	 * 
	 * Decimal	Hex Value	Char	URL Encode
	 *	32		20			space	%20
	 *  160		a0	 				%a0
	 * @param args
	 */
	public static void main(String[] args) {
		
		String space = "To register";
		String duplicated = "To register";
		String db = "To register";
		String test = "To register";
		boolean eq = space.equalsIgnoreCase(duplicated);
		if (!eq){
			System.out.println("String not equal. they have different value.");
		}else{
			
		}
		System.out.println(space.equalsIgnoreCase(test));
		System.out.println();
		
		
	}

}
